CC=g++
CFALGS=-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
LIBS=-L/usr/lib/x86_64-linux-gnu -lSDL -lSDL_image -lSDL_ttf -lSDL_mixer

OBJS:=$(patsubst %.cpp, %.o, $(wildcard *.cpp))

TARGET=test

$(TARGET):$(OBJS)
	$(CC)    -o  $(TARGET) $(OBJS) $(CFALGS) $(LIBS)
	@mv $(TARGET) ..

clean:
	rm -rf *.o $(TARGET)
